package com.bidevalution.service;

import com.qtp.core.model.Response;

import java.util.List;
import java.util.Map;

/**
 * @author huyiqi
 * @date 2019/11/20
 */
public interface BidResultService {

    /**
     * 推送中标结果
     * @param segmentEvaluationRecord 项目信息
     * @param evaluationRecord 专家个人意见
     * @param winBidPerformance 中标单位业绩
     * @param invalidBidRecord 废标单位列表
     * @param expertScoreRecord 专家评分情况
     * @param winBidScore 单位得分列表
     * @param winBidInfo 中标单位信息
     * @return
     */
    Response<String> pushBidResult(Map<String, Object> segmentEvaluationRecord,
                                   List<Map<String, Object>> evaluationRecord,
                                   List<Map<String, Object>> winBidPerformance,
                                   List<Map<String, Object>> invalidBidRecord,
                                   List<Map<String, Object>> expertScoreRecord,
                                   List<Map<String, Object>> winBidScore,
                                   List<Map<String, Object>> winBidInfo);

    /**
     * 推送中标结果公示pdf
     * @param sectionCode 标段编码
     * @param buff 文件流的数组
     * @return 返回调用结果
     */
    Response<String> pushPdf(String sectionCode, byte[] buff);
}
